package com.dkm.ec.bbs.persistence.entity;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:论坛帖子 Tbl对象
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2017-05-24 17:42:12
 */
 @ITable(name="bbsPosts",code="t_bbs_posts")
public class BbsPostsTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*ID*/
	@IField(name="topicId",column="topic_id_")
	protected String  topicId; 		/*所属主题 ID*/
	@IField(name="entityId",column="entity_id_")
	protected String  entityId; 		/*所属主题 ID*/
	@IField(name="content",column="content_")
	protected String  content; 		/*帖子内容*/
	@IField(name="level",column="level_")
	protected Integer  level; 		/*楼层*/
	@IField(name="type",column="type_")
	protected String  type; 		/*回复类型。topic=主题帖，特指1楼帖。to_topic=回复主题；to_posts回复回帖*/
	@IField(name="toPostsId",column="to_posts_id_")
	protected String  toPostsId; 		/*回复的目标帖子 ID*/
	@IField(name="toMeId",column="to_me_id_")
	protected String  toMeId; 		/*回复的目标帖子的参与者 ID*/
	@IField(name="toNickname",column="to_nickname")
	protected String  toNickname; 		/*目标贴作者昵称*/
	@IField(name="nickname",column="nickname_")
	protected String  nickname; 		/*会员昵称*/
	@IField(name="profile",column="profile_")
	protected String  profile; 		/*会员头像*/
	@IField(name="meId",column="me_id_")
	protected String  meId; 		/*创建会员 ID（参与者）*/
	@IField(name="status",column="status_")
	protected String  status; 		/*状态。waiting=未审核；pass=审核通过*/
	@IField(name="createBy",column="create_by_")
	protected String  createBy; 		/*创建者*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	@IField(name="updateBy",column="update_by_")
	protected String  updateBy; 		/*更新者*/
	@IField(name="updateTime",column="update_time_")
	protected java.util.Date  updateTime; 		/*更新时间*/
	@IField(name="toSubPostsId",column="to_sub_posts_id_")
	protected String  toSubPostsId; 		/*to_sub_posts_id_*/
	@IField(name="visiable",column="visiable_")
	protected String  visiable; 		/*是否楼主可见, 楼主："ower"，所有人："all"*/
	@IField(name="postSupportCount",column="post_support_count_")
	protected Integer  postSupportCount; 		/*评论点赞数*/
	@IField(name="autoStatus",column="auto_status_")
	protected String  autoStatus; 		/*自动顶贴状态（success=自动回帖完成,waiting=回帖中,noaction|null=未自动回帖）*/
	
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setTopicId(String topicId) 
	{
		this.topicId = topicId;
	}
	/**
	 * 返回 所属主题 ID
	 * @return
	 */
	public String getTopicId() 
	{
		return this.topicId;
	}
	public void setContent(String content) 
	{
		this.content = content;
	}
	/**
	 * 返回 帖子内容
	 * @return
	 */
	public String getContent() 
	{
		return this.content;
	}
	public void setLevel(Integer level) 
	{
		this.level = level;
	}
	/**
	 * 返回 楼层
	 * @return
	 */
	public Integer getLevel() 
	{
		return this.level;
	}
	public void setType(String type) 
	{
		this.type = type;
	}
	/**
	 * 返回 回复类型。topic=主题帖，特指1楼帖。to_topic=回复主题；to_posts回复回帖
	 * @return
	 */
	public String getType() 
	{
		return this.type;
	}
	public void setToPostsId(String toPostsId) 
	{
		this.toPostsId = toPostsId;
	}
	/**
	 * 返回 回复的目标帖子 ID
	 * @return
	 */
	public String getToPostsId() 
	{
		return this.toPostsId;
	}
	public void setToMeId(String toMeId) 
	{
		this.toMeId = toMeId;
	}
	/**
	 * 返回 回复的目标帖子的参与者 ID
	 * @return
	 */
	public String getToMeId() 
	{
		return this.toMeId;
	}
	public void setToNickname(String toNickname) 
	{
		this.toNickname = toNickname;
	}
	/**
	 * 返回 目标贴作者昵称
	 * @return
	 */
	public String getToNickname() 
	{
		return this.toNickname;
	}
	public void setNickname(String nickname) 
	{
		this.nickname = nickname;
	}
	/**
	 * 返回 会员昵称
	 * @return
	 */
	public String getNickname() 
	{
		return this.nickname;
	}
	public void setProfile(String profile) 
	{
		this.profile = profile;
	}
	/**
	 * 返回 会员头像
	 * @return
	 */
	public String getProfile() 
	{
		return this.profile;
	}
	public void setMeId(String meId) 
	{
		this.meId = meId;
	}
	/**
	 * 返回 创建会员 ID（参与者）
	 * @return
	 */
	public String getMeId() 
	{
		return this.meId;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}
	/**
	 * 返回 状态。waiting=未审核；pass=审核通过
	 * @return
	 */
	public String getStatus() 
	{
		return this.status;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}
	/**
	 * 返回 创建者
	 * @return
	 */
	public String getCreateBy() 
	{
		return this.createBy;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}
	/**
	 * 返回 更新者
	 * @return
	 */
	public String getUpdateBy() 
	{
		return this.updateBy;
	}
	public void setUpdateTime(java.util.Date updateTime) 
	{
		this.updateTime = updateTime;
	}
	/**
	 * 返回 更新时间
	 * @return
	 */
	public java.util.Date getUpdateTime() 
	{
		return this.updateTime;
	}
	public void setToSubPostsId(String toSubPostsId) 
	{
		this.toSubPostsId = toSubPostsId;
	}
	/**
	 * 返回 to_sub_posts_id_
	 * @return
	 */
	public String getToSubPostsId() 
	{
		return this.toSubPostsId;
	}
	public void setVisiable(String visiable) 
	{
		this.visiable = visiable;
	}
	/**
	 * 返回 是否楼主可见, 楼主："ower"，所有人："all"
	 * @return
	 */
	public String getVisiable() 
	{
		return this.visiable;
	}
	public void setPostSupportCount(Integer postSupportCount) 
	{
		this.postSupportCount = postSupportCount;
	}
	/**
	 * 返回 评论点赞数
	 * @return
	 */
	public Integer getPostSupportCount() 
	{
		return this.postSupportCount;
	}
	public void setAutoStatus(String autoStatus) 
	{
		this.autoStatus = autoStatus;
	}
	/**
	 * 返回 自动顶贴状态（success=自动回帖完成,waiting=回帖中,noaction|null=未自动回帖）
	 * @return
	 */
	public String getAutoStatus() 
	{
		return this.autoStatus;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("topicId", this.topicId) 
		.append("content", this.content) 
		.append("level", this.level) 
		.append("type", this.type) 
		.append("toPostsId", this.toPostsId) 
		.append("toMeId", this.toMeId) 
		.append("toNickname", this.toNickname) 
		.append("nickname", this.nickname) 
		.append("profile", this.profile) 
		.append("meId", this.meId) 
		.append("status", this.status) 
		.append("createBy", this.createBy) 
		.append("createTime", this.createTime) 
		.append("updateBy", this.updateBy) 
		.append("updateTime", this.updateTime) 
		.append("toSubPostsId", this.toSubPostsId) 
		.append("visiable", this.visiable) 
		.append("postSupportCount", this.postSupportCount) 
		.append("autoStatus", this.autoStatus) 
		.toString();
	}
	public String getEntityId() {
		return entityId;
	}
	public void setEntityId(String entityId) {
		this.entityId = entityId;
	}
}